﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <title>登录测试</title>
    <script type="text/javascript" src="../js/jquery-2.1.4.min.js"></script>
    <script src="/static/h5/js/im.config.js"></script>
    <script src="/static/h5/js/im.js"></script>
    <script>        
        function logins() {
            var staffid = $("#staffid").val();
            var storeid = $("#storeid").val();
            var uid = $("#uid").val();
            SetCookie("wjk_staff", "uid=" + uid + "&staffid=" + trim(staffid) + "&storeid=" + trim(storeid));
            toUrl("demo.html");
        }
    </script>
</head>

<body>
    <h2>登录参数</h2>
    <div>staffId: <input type="text" id="staffid" value="1" /></div>
    <div>uid: &nbsp; <input type="text" id="uid" value="1030" /></div>
    <div>soreid: <input type="text" id="storeid" value="4" /></div>
    <div><input type="button" value=" 登 录 " onclick="logins()" /></div>
</body>
</html>